﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<TBlog.Models.Category>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>DeleteCategory</h2>

    <h3>Are you sure you want to delete this?</h3>
    
    <% using (Html.BeginForm()) { %>
        <fieldset>
        <div><b>Name : </b><%: Model.category_name %></div>
        <div><b>Description : </b><%: Model.category_description %></div>
        </fieldset>
        <p>
		    <input type="submit" value="Delete" /> |
		    <%: Html.ActionLink("Back to Category List", "Category") %>
        </p>
    <% } %>

</asp:Content>

